<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
     <!-- 引入外部js文件 -->
     <script src="js/jquery-1.8.3.js"></script>
     <script>
         $(document).ready(function(){
            $("#chongzhi").click(function(){
                alert("余额不足！请继续搬砖去！");
            });
         });

         function cancle(){
             alert("拜拜咧您~");
         }
     </script>
</head>
<body>
    <div id="chongzhi">充值送皮肤</div>

    <button onclick="cancle()">取消</button>
</body>
</html>